package com.cwm.test.decorator.v2;


/**
* 香肠装饰者类SausageDecorator
*/
public class SausageDecorator extends BattercakeDecorator {

    public SausageDecorator(Battercake battercake) {
        super(battercake);
    }


    @Override
    protected String getMsg() {
        return super.getMsg() + "+1根香肠";
    }


    @Override
    protected int getPrice() {
        return super.getPrice() + 3;
    }
}